projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e20232
)
filechooserbutton: Remove some dead code
author
Timm Bäder
<mail@baedert.org>
Sun, 28 Apr 2019 09:02:59 +0000
(11:02 +0200)
committer
Timm Bäder
<mail@baedert.org>
Sun, 28 Apr 2019 09:02:59 +0000
(11:02 +0200)
gtk/gtkfilechooserwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfilechooserwidget.c
b/gtk/gtkfilechooserwidget.c
index 2e93cd334ee7abb8cca19ce29846832257a30ddd..8975080d33c79e997751417885af401d4adaa8b7 100644
(file)
--- a/
gtk/gtkfilechooserwidget.c
+++ b/
gtk/gtkfilechooserwidget.c
@@
-1395,11
+1395,8
@@
widget_key_press_cb (GtkEventControllerKey *controller,
GtkFileChooserWidget *impl = (GtkFileChooserWidget *) data;
GtkFileChooserWidgetPrivate *priv = impl->priv;
gboolean handled = FALSE;
- GdkEvent *event;
const char *string;
- event = gtk_get_current_event ();
-
if (should_trigger_location_entry (impl, keyval, state, &string))
{
if (priv->action == GTK_FILE_CHOOSER_ACTION_OPEN ||
@@
-1420,8
+1417,6
@@
widget_key_press_cb (GtkEventControllerKey *controller,
}
}
- g_object_unref (event);
-
return handled;
}